package cqie.personal.frame.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yeeeeee
 * @since 2021-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserInfo对象", description="description")
public class UserInfo implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "提供给用户的唯一ID")
    private Integer uid;

    @ApiModelProperty(value = "用户账号")
    private String userAccount;

    @ApiModelProperty(value = "用户手机")
    private String userPhone;

    @ApiModelProperty(value = "用户昵称")
    private String userName;

    @ApiModelProperty(value = "用户性别（0隐藏，1男，2女)，默认0")
    private Integer userSex;

    @ApiModelProperty(value = "用户角色（0普通用户，1管理员）")
    private Integer userRole;

    @ApiModelProperty(value = "用户头像")
    private String userImg;

    @ApiModelProperty(value = "用户密码")
    private String userPassword;

    @ApiModelProperty(value = "用户登录凭证")
    private String userToken;

    @ApiModelProperty(value = "账号是否遗弃")
    private Integer userAbandon;

    private Integer studentClassId;

    private Integer teacherDepartmentId;

    private Date lastUpgradeTime;

    private Integer lastUpgradePerson;

    private Date createTime;

    private Integer createPerson;


}
